package oop6;

public class GernateXY {
	public static Point g(int x, int a) {
		Point p = new Point();
		p.x = x;

		try {
			p.y = x / a;
			return p;
		} catch (Exception e) {
			System.out.println("error");
		} finally {
			p.y = 200;
		}
		return p;
	}

	public static void main(String[] args) {
		Point point = g(100, 5);
		System.out.println(point.x + "," + point.y);

	}

}

class Father {
	public void a() throws Exception {

	}

	public void b() {
	}
}

class Son extends Father {
	@Override
	public void a() {

	}

	@Override
	public void b()  {

	}
}
